<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ student.name }}同学</title>
</head>
<body>
{% if student %}
<h3>姓名：{{ student.name }}</h3>
<p>性别：{{ student.gender }}</p>
<p>年龄：{{ student.age }}</p>
<p>入学时间: {{ student.study_time }}</p>
<!--<a href="#">删除</a>-->
<a href="{% url 'classmate:edit_info' student.id %}">编辑</a>
{% else %}
<p>查无些人</p>
{% endif %}
<a href="{% url 'classmate:index' %}">返回</a>
</body>
</html>